package com.whjfxx.terminal.biz.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * Created by b.c on 2022/6/24 13:41
 */
public interface CaptchaService {

    /**
     * 验证码
     * @param request
     * @param response
     */
    void captcha(HttpServletRequest request, HttpServletResponse response) throws IOException;

    /**
     * 图片验证码
     * @param request
     * @param response
     */
    void spec(HttpServletRequest request, HttpServletResponse response) throws IOException;

    /**
     * 动态图片验证码
     * @param request
     * @param response
     */
    void gif(HttpServletRequest request, HttpServletResponse response) throws IOException;

    /**
     * 中文验证码
     * @param request
     * @param response
     */
    void chinese(HttpServletRequest request, HttpServletResponse response) throws IOException;

    /**
     * 计算 验证
     * @param request
     * @param response
     */
    void arithmetic(HttpServletRequest request, HttpServletResponse response) throws IOException;

}
